<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>接口报告</title>
    <meta name="generator" content="HTMLTestRunner 0.8.2.2"/>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
    <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.js"></script>
    <script src="http://libs.baidu.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
    
<style type="text/css" media="screen">
body        { font-family: Microsoft YaHei,Tahoma,arial,helvetica,sans-serif;padding: 20px; font-size: 120%; }
table       { font-size: 100%; }
/* -- heading ---------------------------------------------------------------------- */
.heading {
    margin-top: 0ex;
    margin-bottom: 1ex;
}
.heading .description {
    margin-top: 4ex;
    margin-bottom: 6ex;
}
/* -- report ------------------------------------------------------------------------ */
#total_row  { font-weight: bold; }
.passCase   { color: #5cb85c; }
.failCase   { color: #d9534f; font-weight: bold; }
.errorCase  { color: #f0ad4e; font-weight: bold; }
.hiddenRow  { display: none; }
.testcase   { margin-left: 2em; }
</style>

</head>
<body >
<script language="javascript" type="text/javascript">
output_list = Array();
/*level 调整增加只显示通过用例的分类 --Findyou
0:Summary //all hiddenRow
1:Failed  //pt hiddenRow, ft none
2:Pass    //pt none, ft hiddenRow
3:All     //pt none, ft none
*/
function showCase(level) {
    trs = document.getElementsByTagName("tr");
    for (var i = 0; i < trs.length; i++) {
        tr = trs[i];
        id = tr.id;
        if (id.substr(0,2) == 'ft') {
            if (level == 2 || level == 0 ) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
            }
        }
        if (id.substr(0,2) == 'pt') {
            if (level < 2) {
                tr.className = 'hiddenRow';
            }
            else {
                tr.className = '';
            }
        }
    }
    //加入【详细】切换文字变化 --Findyou
    detail_class=document.getElementsByClassName('detail');
	//console.log(detail_class.length)
	if (level == 3) {
		for (var i = 0; i < detail_class.length; i++){
			detail_class[i].innerHTML="收起"
		}
	}
	else{
			for (var i = 0; i < detail_class.length; i++){
			detail_class[i].innerHTML="详细"
		}
	}
}
function showClassDetail(cid, count) {
    var id_list = Array(count);
    var toHide = 1;
    for (var i = 0; i < count; i++) {
        //ID修改 点 为 下划线 -Findyou
        tid0 = 't' + cid.substr(1) + '_' + (i+1);
        tid = 'f' + tid0;
        tr = document.getElementById(tid);
        if (!tr) {
            tid = 'p' + tid0;
            tr = document.getElementById(tid);
        }
        id_list[i] = tid;
        if (tr.className) {
            toHide = 0;
        }
    }
    for (var i = 0; i < count; i++) {
        tid = id_list[i];
        //修改点击无法收起的BUG，加入【详细】切换文字变化 --Findyou
        if (toHide) {
            document.getElementById(tid).className = 'hiddenRow';
            document.getElementById(cid).innerText = "详细"
        }
        else {
            document.getElementById(tid).className = '';
            document.getElementById(cid).innerText = "收起"
        }
    }
}
function html_escape(s) {
    s = s.replace(/&/g,'&amp;');
    s = s.replace(/</g,'&lt;');
    s = s.replace(/>/g,'&gt;');
    return s;
}
</script>
<div class='heading'>
<h1 style="font-family: Microsoft YaHei">接口报告</h1>
<p class='attribute'><strong>测试人员 : </strong> ***</p>
<p class='attribute'><strong>开始时间 : </strong> 2020-05-08 10:01:46</p>
<p class='attribute'><strong>合计耗时 : </strong> 0:00:13.906030</p>
<p class='attribute'><strong>测试结果 : </strong> 共 67，通过 49，失败 18，通过率= 73.13%</p>

<p class='description'>测试报告描述....</p>
</div>


<p id='show_detail_line'>
<a class="btn btn-primary" href='javascript:showCase(0)'>概要{ 73.13% }</a>
<a class="btn btn-danger" href='javascript:showCase(1)'>失败{ 18 }</a>
<a class="btn btn-success" href='javascript:showCase(2)'>通过{ 49 }</a>
<a class="btn btn-info" href='javascript:showCase(3)'>所有{ 67 }</a>
</p>
<table id='result_table' class="table table-condensed table-bordered table-hover">
<colgroup>
<col align='left' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
<col align='right' />
</colgroup>
<tr id='header_row' class="text-center success" style="font-weight: bold;font-size: 16px;">
    <td>用例集/测试用例</td>
    <td>总计</td>
    <td>通过</td>
    <td>失败</td>
    <td>错误</td>
    <td>详细</td>
</tr>

<tr class='failClass warning'>
    <td>test_add.My_Add</td>
    <td class="text-center">14</td>
    <td class="text-center">13</td>
    <td class="text-center">1</td>
    <td class="text-center">0</td>
    <td class="text-center"><a href="javascript:showClassDetail('c1',14)" class="detail" id='c1'>详细</a></td>
</tr>

<tr id='pt1_1' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_01: 加标成功</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt1_2' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_02: member_id为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt1_3' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_03: member_id不存在</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt1_4' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_04: 借款成功</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt1_5' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_05: 超出借款范围</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft1_6' class='none'>
    <td class='failCase'><div class='testcase'>test_add_06: 借款金额-1位小数</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft1_6' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft1_6'>失败</button>
    <div id='div_ft1_6' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft1_6' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft1_6'>失败</button>
    <div id='div_ft1_6' class="collapse in" align="left">
    <pre>
    
ft1_6: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_add.py", line 74, in test_add
    raise e
  File "E:\Projects\testcase\test_add.py", line 68, in test_add
    self.assertEqual(expected['code'],result['code'])
AssertionError: 0 != 2


    </pre>
    </div>
    </td>
</tr>

<tr id='pt1_7' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_07: 借款金额-2位小数</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt1_8' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_08: 最大年利率</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt1_9' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_09: 最小年利率</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt1_10' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_10: 超出最大年利率</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt1_11' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_11: 超出最小年利率</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt1_12' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_12: 超出期限范围</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt1_13' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_13: 错误的借款期限类型</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt1_14' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_add_14: 超出竞标天数</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr class='failClass warning'>
    <td>test_audit.My_audit</td>
    <td class="text-center">6</td>
    <td class="text-center">3</td>
    <td class="text-center">3</td>
    <td class="text-center">0</td>
    <td class="text-center"><a href="javascript:showClassDetail('c2',6)" class="detail" id='c2'>详细</a></td>
</tr>

<tr id='ft2_1' class='none'>
    <td class='failCase'><div class='testcase'>test_audit_1: 审核通过</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft2_1' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft2_1'>失败</button>
    <div id='div_ft2_1' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft2_1' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft2_1'>失败</button>
    <div id='div_ft2_1' class="collapse in" align="left">
    <pre>
    
ft2_1: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_audit.py", line 96, in test_audit
    raise e
  File "E:\Projects\testcase\test_audit.py", line 90, in test_audit
    self.assertEqual(expected['code'], result['code'])
AssertionError: 0 != 2


    </pre>
    </div>
    </td>
</tr>

<tr id='ft2_2' class='none'>
    <td class='failCase'><div class='testcase'>test_audit_2: 审核不通过</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft2_2' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft2_2'>失败</button>
    <div id='div_ft2_2' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft2_2' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft2_2'>失败</button>
    <div id='div_ft2_2' class="collapse in" align="left">
    <pre>
    
ft2_2: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_audit.py", line 96, in test_audit
    raise e
  File "E:\Projects\testcase\test_audit.py", line 90, in test_audit
    self.assertEqual(expected['code'], result['code'])
AssertionError: 0 != 1


    </pre>
    </div>
    </td>
</tr>

<tr id='pt2_3' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_audit_3: 项目Id为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft2_4' class='none'>
    <td class='failCase'><div class='testcase'>test_audit_4: 已审核</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft2_4' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft2_4'>失败</button>
    <div id='div_ft2_4' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft2_4' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft2_4'>失败</button>
    <div id='div_ft2_4' class="collapse in" align="left">
    <pre>
    
ft2_4: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_audit.py", line 96, in test_audit
    raise e
  File "E:\Projects\testcase\test_audit.py", line 91, in test_audit
    self.assertEqual(expected['msg'], result['msg'])
AssertionError: '项目不在审核中状态' != '普通会员不能审核项目，请使用管理员账号'
- 项目不在审核中状态
+ 普通会员不能审核项目，请使用管理员账号



    </pre>
    </div>
    </td>
</tr>

<tr id='pt2_5' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_audit_5: 审核状态为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt2_6' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_audit_6: 项目Id不存在</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr class='failClass warning'>
    <td>test_loans.My_Loans</td>
    <td class="text-center">5</td>
    <td class="text-center">3</td>
    <td class="text-center">2</td>
    <td class="text-center">0</td>
    <td class="text-center"><a href="javascript:showClassDetail('c3',5)" class="detail" id='c3'>详细</a></td>
</tr>

<tr id='pt3_1' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_loans_1: 查询列表</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt3_2' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_loans_2: 缺少索引</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft3_3' class='none'>
    <td class='failCase'><div class='testcase'>test_loans_3: 索引不为整数</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft3_3' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft3_3'>失败</button>
    <div id='div_ft3_3' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft3_3' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft3_3'>失败</button>
    <div id='div_ft3_3' class="collapse in" align="left">
    <pre>
    
ft3_3: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_loans.py", line 68, in test_loans
    raise e
  File "E:\Projects\testcase\test_loans.py", line 62, in test_loans
    self.assertEqual(expected['code'],result['code'])
AssertionError: 0 != 1005


    </pre>
    </div>
    </td>
</tr>

<tr id='pt3_4' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_loans_4: 缺少每页大小</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft3_5' class='none'>
    <td class='failCase'><div class='testcase'>test_loans_5: 每页数据不为整数</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft3_5' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft3_5'>失败</button>
    <div id='div_ft3_5' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft3_5' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft3_5'>失败</button>
    <div id='div_ft3_5' class="collapse in" align="left">
    <pre>
    
ft3_5: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_loans.py", line 68, in test_loans
    raise e
  File "E:\Projects\testcase\test_loans.py", line 62, in test_loans
    self.assertEqual(expected['code'],result['code'])
AssertionError: 0 != 1005


    </pre>
    </div>
    </td>
</tr>

<tr class='failClass warning'>
    <td>test_login.My_Login</td>
    <td class="text-center">8</td>
    <td class="text-center">4</td>
    <td class="text-center">4</td>
    <td class="text-center">0</td>
    <td class="text-center"><a href="javascript:showClassDetail('c4',8)" class="detail" id='c4'>详细</a></td>
</tr>

<tr id='ft4_1' class='none'>
    <td class='failCase'><div class='testcase'>test_login_1: 登录成功</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft4_1' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft4_1'>失败</button>
    <div id='div_ft4_1' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft4_1' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft4_1'>失败</button>
    <div id='div_ft4_1' class="collapse in" align="left">
    <pre>
    
ft4_1: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_login.py", line 58, in test_login
    raise e
  File "E:\Projects\testcase\test_login.py", line 48, in test_login
    self.assertEqual(expected['code'],result['code'])
AssertionError: 0 != 1001


    </pre>
    </div>
    </td>
</tr>

<tr id='pt4_2' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_login_2: 手机号为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt4_3' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_login_3: 密码为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft4_4' class='none'>
    <td class='failCase'><div class='testcase'>test_login_4: 手机号码不存在</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft4_4' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft4_4'>失败</button>
    <div id='div_ft4_4' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft4_4' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft4_4'>失败</button>
    <div id='div_ft4_4' class="collapse in" align="left">
    <pre>
    
ft4_4: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_login.py", line 58, in test_login
    raise e
  File "E:\Projects\testcase\test_login.py", line 48, in test_login
    self.assertEqual(expected['code'],result['code'])
AssertionError: 1001 != 2


    </pre>
    </div>
    </td>
</tr>

<tr id='pt4_5' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_login_5: 手机号超过11位</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt4_6' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_login_6: 手机号小于11位</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft4_7' class='none'>
    <td class='failCase'><div class='testcase'>test_login_7: 密码大于16位</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft4_7' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft4_7'>失败</button>
    <div id='div_ft4_7' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft4_7' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft4_7'>失败</button>
    <div id='div_ft4_7' class="collapse in" align="left">
    <pre>
    
ft4_7: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_login.py", line 58, in test_login
    raise e
  File "E:\Projects\testcase\test_login.py", line 48, in test_login
    self.assertEqual(expected['code'],result['code'])
AssertionError: '1001' != 1001


    </pre>
    </div>
    </td>
</tr>

<tr id='ft4_8' class='none'>
    <td class='failCase'><div class='testcase'>test_login_8: 密码小于8位</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft4_8' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft4_8'>失败</button>
    <div id='div_ft4_8' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft4_8' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft4_8'>失败</button>
    <div id='div_ft4_8' class="collapse in" align="left">
    <pre>
    
ft4_8: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_login.py", line 58, in test_login
    raise e
  File "E:\Projects\testcase\test_login.py", line 48, in test_login
    self.assertEqual(expected['code'],result['code'])
AssertionError: '1001' != 2


    </pre>
    </div>
    </td>
</tr>

<tr class='failClass warning'>
    <td>test_recharge.My_recharge</td>
    <td class="text-center">14</td>
    <td class="text-center">11</td>
    <td class="text-center">3</td>
    <td class="text-center">0</td>
    <td class="text-center"><a href="javascript:showClassDetail('c5',14)" class="detail" id='c5'>详细</a></td>
</tr>

<tr id='pt5_1' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_recharge_01: 充值成功-整数</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt5_2' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_recharge_02: 充值成功-1位小数</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt5_3' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_recharge_03: 充值成功-2位小数</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt5_4' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_recharge_04: 充值成功-50万</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt5_5' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_recharge_05: 会员id为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt5_6' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_recharge_06: id不是当前登录的用户</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft5_7' class='none'>
    <td class='failCase'><div class='testcase'>test_recharge_07: 会员id为字符串</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft5_7' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft5_7'>失败</button>
    <div id='div_ft5_7' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft5_7' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft5_7'>失败</button>
    <div id='div_ft5_7' class="collapse in" align="left">
    <pre>
    
ft5_7: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_recharge.py", line 100, in test_recharge
    raise e
  File "E:\Projects\testcase\test_recharge.py", line 86, in test_recharge
    self.assertEqual(expected['code'],result['code'])
AssertionError: 2 != 0


    </pre>
    </div>
    </td>
</tr>

<tr id='pt5_8' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_recharge_08: 会员id为小数</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft5_9' class='none'>
    <td class='failCase'><div class='testcase'>test_recharge_09: 充值金额为0</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft5_9' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft5_9'>失败</button>
    <div id='div_ft5_9' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft5_9' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft5_9'>失败</button>
    <div id='div_ft5_9' class="collapse in" align="left">
    <pre>
    
ft5_9: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_recharge.py", line 100, in test_recharge
    raise e
  File "E:\Projects\testcase\test_recharge.py", line 86, in test_recharge
    self.assertEqual(expected['code'],result['code'])
AssertionError: 2 != 0


    </pre>
    </div>
    </td>
</tr>

<tr id='pt5_10' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_recharge_10: 充值金额为负数</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft5_11' class='none'>
    <td class='failCase'><div class='testcase'>test_recharge_11: 充值金额为空</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft5_11' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft5_11'>失败</button>
    <div id='div_ft5_11' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft5_11' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft5_11'>失败</button>
    <div id='div_ft5_11' class="collapse in" align="left">
    <pre>
    
ft5_11: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_recharge.py", line 100, in test_recharge
    raise e
  File "E:\Projects\testcase\test_recharge.py", line 86, in test_recharge
    self.assertEqual(expected['code'],result['code'])
AssertionError: 1 != 2


    </pre>
    </div>
    </td>
</tr>

<tr id='pt5_12' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_recharge_12: 充值金额-3位小数</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt5_13' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_recharge_13: 充值金额-大于50万</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt5_14' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_recharge_14: 充值金额-非数字</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr class='failClass warning'>
    <td>test_register.My_Reg</td>
    <td class="text-center">9</td>
    <td class="text-center">7</td>
    <td class="text-center">2</td>
    <td class="text-center">0</td>
    <td class="text-center"><a href="javascript:showClassDetail('c6',9)" class="detail" id='c6'>详细</a></td>
</tr>

<tr id='pt6_1' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_reg_1: 注册成功</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt6_2' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_reg_2: 手机号为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt6_3' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_reg_3: 密码为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft6_4' class='none'>
    <td class='failCase'><div class='testcase'>test_reg_4: 手机号长度大于11位</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft6_4' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft6_4'>失败</button>
    <div id='div_ft6_4' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft6_4' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft6_4'>失败</button>
    <div id='div_ft6_4' class="collapse in" align="left">
    <pre>
    
ft6_4: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_register.py", line 77, in test_reg
    raise e
  File "E:\Projects\testcase\test_register.py", line 65, in test_reg
    self.assertEqual(expected['code'],result['code'])
AssertionError: 1 != 2


    </pre>
    </div>
    </td>
</tr>

<tr id='ft6_5' class='none'>
    <td class='failCase'><div class='testcase'>test_reg_5: 手机号长度小于11位</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft6_5' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft6_5'>失败</button>
    <div id='div_ft6_5' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft6_5' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft6_5'>失败</button>
    <div id='div_ft6_5' class="collapse in" align="left">
    <pre>
    
ft6_5: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_register.py", line 77, in test_reg
    raise e
  File "E:\Projects\testcase\test_register.py", line 65, in test_reg
    self.assertEqual(expected['code'],result['code'])
AssertionError: 2 != 1


    </pre>
    </div>
    </td>
</tr>

<tr id='pt6_6' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_reg_6: 密码长度大于16位</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt6_7' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_reg_7: 密码长度小于8</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt6_8' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_reg_8: 类型为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt6_9' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_reg_9: 名称为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr class='failClass warning'>
    <td>test_withdraw.My_withdraw</td>
    <td class="text-center">11</td>
    <td class="text-center">8</td>
    <td class="text-center">3</td>
    <td class="text-center">0</td>
    <td class="text-center"><a href="javascript:showClassDetail('c7',11)" class="detail" id='c7'>详细</a></td>
</tr>

<tr id='pt7_1' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_withdraw_01: 提现成功</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt7_2' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_withdraw_02: 提现金额50万-金额不够</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt7_3' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_withdraw_03: 提现金额一位小数</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt7_4' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_withdraw_04: 提现金额两位小数</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt7_5' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_withdraw_05: 提现金额三位小数</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt7_6' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_withdraw_06: member_id为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft7_7' class='none'>
    <td class='failCase'><div class='testcase'>test_withdraw_07: member_id不存在</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft7_7' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft7_7'>失败</button>
    <div id='div_ft7_7' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft7_7' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft7_7'>失败</button>
    <div id='div_ft7_7' class="collapse in" align="left">
    <pre>
    
ft7_7: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_withdraw.py", line 105, in test_withdraw
    raise e
  File "E:\Projects\testcase\test_withdraw.py", line 86, in test_withdraw
    self.assertEqual(expected['code'],result['code'])
AssertionError: 2 != 1007


    </pre>
    </div>
    </td>
</tr>

<tr id='pt7_8' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_withdraw_08: 提现金额为空</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='pt7_9' class='hiddenRow'>
    <td class='passCase'><div class='testcase'>test_withdraw_09: 提现金额-非数字</div></td>
    <td colspan='5' align='center'><span class="label label-success success">通过</span></td>
</tr>

<tr id='ft7_10' class='none'>
    <td class='failCase'><div class='testcase'>test_withdraw_10: 提现金额-负数</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft7_10' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft7_10'>失败</button>
    <div id='div_ft7_10' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft7_10' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft7_10'>失败</button>
    <div id='div_ft7_10' class="collapse in" align="left">
    <pre>
    
ft7_10: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_withdraw.py", line 105, in test_withdraw
    raise e
  File "E:\Projects\testcase\test_withdraw.py", line 87, in test_withdraw
    self.assertEqual(expected['msg'],result['msg'])
AssertionError: '余额必须大于0并且小于或者等于500000' != '余额必须大于0并且小于或者等于5000000'
- 余额必须大于0并且小于或者等于500000
+ 余额必须大于0并且小于或者等于5000000
?                      +



    </pre>
    </div>
    </td>
</tr>

<tr id='ft7_11' class='none'>
    <td class='failCase'><div class='testcase'>test_withdraw_11: 提现金额大约50万</div></td>
    <td colspan='5' align='center'>
    <!--默认收起错误信息 -Findyou
    <button id='btn_ft7_11' type="button"  class="btn btn-danger btn-xs collapsed" data-toggle="collapse" data-target='#div_ft7_11'>失败</button>
    <div id='div_ft7_11' class="collapse">  -->
    <!-- 默认展开错误信息 -Findyou -->
    <button id='btn_ft7_11' type="button"  class="btn btn-danger btn-xs" data-toggle="collapse" data-target='#div_ft7_11'>失败</button>
    <div id='div_ft7_11' class="collapse in" align="left">
    <pre>
    
ft7_11: Traceback (most recent call last):
  File "E:\Projects\library\ddt.py", line 145, in wrapper
    return func(self, *args, **kwargs)
  File "E:\Projects\testcase\test_withdraw.py", line 105, in test_withdraw
    raise e
  File "E:\Projects\testcase\test_withdraw.py", line 87, in test_withdraw
    self.assertEqual(expected['msg'],result['msg'])
AssertionError: '余额必须大于0并且小于或者等于500000' != '余额必须大于0并且小于或者等于5000000'
- 余额必须大于0并且小于或者等于500000
+ 余额必须大于0并且小于或者等于5000000
?                      +



    </pre>
    </div>
    </td>
</tr>

<tr id='total_row' class="text-center active">
    <td>总计</td>
    <td>67</td>
    <td>49</td>
    <td>18</td>
    <td>0</td>
    <td>通过率：73.13%</td>
</tr>
</table>

<div id='ending'>&nbsp;</div>
    <div style=" position:fixed;right:50px; bottom:30px; width:20px; height:20px;cursor:pointer">
    <a href="#"><span class="glyphicon glyphicon-eject" style = "font-size:30px;" aria-hidden="true">
    </span></a></div>
    
</body>
</html>
